<!DOCTYPE HTML>
<html>
	<head>
		<title>Fern BI</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<meta name="description" content="" />
		<meta name="keywords" content="" />
		<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
		<script src="js/jquery.min.js"></script>
		<script src="js/jquery.scrolly.min.js"></script>
		<script src="js/jquery.poptrox.min.js"></script>
		<script src="js/skel.min.js"></script>
		<script src="js/init.js"></script>
        
       <link rel="shortcut icon" href="images/fern.ico" >
        
        
        
        <!-- GAUGE Amcharts -->
        
		<script type="text/javascript" src="http://www.amcharts.com/lib/3/amcharts.js"></script>
        <script type="text/javascript" src="http://www.amcharts.com/lib/3/gauge.js"></script>
        <script type="text/javascript" src="http://www.amcharts.com/lib/3/themes/none.js"></script>
        
        <script src="js/create_gauge.js"></script>
        
        
		<noscript>
			<link rel="stylesheet" href="css/skel.css" />
			<link rel="stylesheet" href="css/style.css" />
		</noscript>
		<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
	</head>
	<body>
     <!--  texto popup -->
        <script type="text/javascript" src="js/wz_tooltip.js"></script> 
<?php

//      Formulário
// =================================================== //

// campos
if(isset($_POST['submit']))
{

$data                   = date("d/m/Y - H:i");
$nome                   = $_POST['nome'];
$email                  = $_POST['email'];
$info                        = $_POST['mensagem'];
$telefone                       = $_POST['telefone'];
$empresa                       = $_POST['empresa'];

//      Email que chega até você
// =================================================== //


$para           = "felipe@fernbi.com.br";
$assunto        = "Lead:: $nome";
$header         = "
<b>Nome:</b>    $nome ,<br>
<b>Email:</b>   $email<br>
<b>Telefone:</b>   $telefone<br>
<b>Empresa:</b>   $empresa<br>
<br><br>
$info     <br>
<br>

==============================================<br>
        $data <br>
==============================================<br>
";

// Função HTML :)
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html;charset=iso-8859-1\r\n";
$headers .= "From: $nome <leads@fernbi.com.br>\r\n";


/*
//      Resposta que vai ao Cliente/Visitante
// =================================================== //

$resp_assunto   = "Formulário :: Minha Empresa";
$header2                = "
Olá <b>$nome</b>,
<br><br>
Obrigado pelo seu contato.<br>
Recebemos sua solicitação e brevemente entraremos em contato.
<br><br><br>

==============================================<br>
        Atenciosamente,<br>
        Fulado de Tal - Minha Empresa<br>
==============================================<br>
";*/

// Função HTML
$headers2 .= "MIME-Version: 1.0\r\n";
$headers2 .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers2 .= "From: Consultoria <felipe@fernbi.com.br>\r\n";

// Envia para você
mail($para, $assunto, $header, $headers);

// Envia para quem preencheu o form
//mail($email, $resp_assunto, $header2,$headers2);
//echo "#";
echo "<script>window.location='#secao_email'</script>";
}
?>
		<!-- Header -->
			<section id="header">
				<header>
            <h1> <img src="images/logo.png"  /></h1>
					
					<p>Soluções em Business Intelligence</p>
				</header>
				<footer>
					<a href="#banner" class="button style2 scrolly scrolly-centered">Você conhece Business Intelligence?</a>
				</footer>
			</section>
		
		<!-- Banner -->
			<section id="banner">
				<header>
					<h2>uma solução simples </h2>
				</header>
				<p>Inteligência de negócio é o conjunto de processos que possibilita as empresas a enxergarem <br>
                o seu ambiente interno e externo de forma analítica.<br>
                 Trata-se de organizar muitos dados em informações, <br>para posteriormente monitorar e prever a sua performance.</p>
				<footer>
					<a href="#first" class="button style2 scrolly">1&#186; Passo</a>
				</footer>
			</section>
		
		<!-- Feature 1 -->
			<article id="first" class="container box style1 right">
				<a href="#first" class="image fit"><img src="images/pic01.jpg" alt="" /></a>
				<div class="inner">
					<header>
						<h2>Quais são os meus objetivos?</h2>
					</header>
					<p>Tudo se inicia ao descobrirmos o que queremos responder, vocês já pensou nisto?
                    
	                <li>Estou atingindo as minhas metas?</li>
	<li>Onde estão  as melhores oportunidades?</li>
	<li>Como vou fechar o mês?</li>
			  </div>

			</article>
		
    <section align="middle" id="2_passo">
        <footer>

<a href="#second" align="middle" class="button style2 scrolly scrolly-centered">2&#186; Passo - Construindo a base</a>
</footer>
</section>
		<!-- Feature 2 -->
			<article id="second" class="container box style1 left">
				<a href="#second" class="image fit"><img src="images/pic02.jpg" alt="" /></a>
				<div class="inner">
					<header>
						<h2>Colecionando Dados</h2>
					</header>
					<p>Nossos serviços vão desde a busca dos dados até a construção final do BI.<BR> Extraimos e processamos dados de qualquer sistema, planilha, arquivo e até mesmo da web!</p>
				</div>
			</article>
		
        <section align="middle" id="2_passo">
        <footer>

<a href="#second" align="middle" class="button style2 scrolly scrolly-centered">2&#186; Passo - Construindo a base</a>
</footer>
</section>
        
		<!-- Portfolio -->
			<article class="container box style2">
				<header>
                <a href="#" class="image fit"><img src="images/PCIPHONE.jpg" alt="" /></a>
                
                <div id="chartdiv"></div>		
					<h2>Magnis parturient</h2>
					<p>Justo phasellus et aenean dignissim<br />
					placerat cubilia purus lectus.</p>
				</header>
				<div class="inner gallery">
					<div class="row flush">
						<div class="3u"><a href="images/fulls/01.jpg" class="image fit"><img src="images/thumbs/01.jpg" alt="" title="Ad infinitum" /></a></div>
						<div class="3u"><a href="images/fulls/02.jpg" class="image fit"><img src="images/thumbs/02.jpg" alt="" title="Dressed in Clarity" /></a></div>
						<div class="3u"><a href="images/fulls/03.jpg" class="image fit"><img src="images/thumbs/03.jpg" alt="" title="Raven" /></a></div>
						<div class="3u"><a href="images/fulls/04.jpg" class="image fit"><img src="images/thumbs/04.jpg" alt="" title="I'll have a cup of Disneyland, please" /></a></div>
					</div>
					<div class="row flush">
						<div class="3u"><a href="images/fulls/05.jpg" class="image fit"><img src="images/thumbs/05.jpg" alt="" title="Cherish" /></a></div>
						<div class="3u"><a href="images/fulls/06.jpg" class="image fit"><img src="images/thumbs/06.jpg" alt="" title="Different." /></a></div>
						<div class="3u"><a href="images/fulls/07.jpg" class="image fit"><img src="images/thumbs/07.jpg" alt="" title="History was made here" /></a></div>
						<div class="3u"><a href="images/fulls/08.jpg" class="image fit"><img src="images/thumbs/08.jpg" alt="" title="People come and go and walk away" /></a></div>
					</div>
				</div>
			</article>
		
		<!-- Contact -->
				<article id="secao_email" class="container box style3">
				<header>
                
              <h1><span class="email_correto"><?php if(isset($_POST['submit']))
				{
					echo "Contato enviado com sucesso!<br>";
				}
				?></span>
</h1>
					<h2>Gostou?</h2>
					<p>Estamos esperando o seu contato, deixe uma mensagem!</p>
				</header>
				<form action="<?php echo $PHP_SELF;?>" method="POST">
					<div class="row half">
						<div class="6u"><input type="text" class="text" id="nome" name="nome" placeholder="Nome" /></div>
						<div class="6u"><input type="text" class="text" id="email" name="email" placeholder="E-mail" /></div>
                        
                        <div class="6u"><input type="text" class="text" id="telefone" name="telefone" placeholder="Telefone" /></div>
                        <div class="6u"><input type="text" class="text" id="empresa" name="empresa" placeholder="Empresa" /></div>
					</div>
					<div class="row half">
						<div class="12u">
							<textarea id="mensagem" name="mensagem" placeholder="Mensagem"></textarea>
                            
                            
   
					  </div>
					</div>
					<div class="row">
						<div class="12u">
							<ul class="actions">
								<li>
                                <input class="button form" type="submit" value="Enviar" name="submit"/>
                                
                              </li>
							</ul>
						</div>
                        
                       
                        
                        
                        
                        
					</div>
				</form>
			</article>
		
		<!-- Generic -->
		<!--
			<article class="container box style3">
				<header>
					<h2>Generic Box</h2>
					<p>Just a generic box. Nothing to see here.</p>
				</header>
				<section>
					<header>
						<h3>Paragraph</h3>
						<p>This is a subtitle</p>
					</header>
					<p>Phasellus nisl nisl, varius id <sup>porttitor sed pellentesque</sup> ac orci. Pellentesque 
					habitant <strong>strong</strong> tristique <b>bold</b> et netus <i>italic</i> malesuada <em>emphasized</em> ac turpis egestas. Morbi 
					leo suscipit ut. Praesent <sub>id turpis vitae</sub> turpis pretium ultricies. Vestibulum sit 
					amet risus elit.</p>
				</section>
				<section>
					<header>
						<h3>Blockquote</h3>
					</header>
					<blockquote>Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget.
					tempus euismod. Vestibulum ante ipsum primis in faucibus.</blockquote>
				</section>
				<section>
					<header>
						<h3>Divider</h3>
					</header>
					<p>Donec consectetur <a href="#">vestibulum dolor et pulvinar</a>. Etiam vel felis enim, at viverra 
					ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel. Praesent nec orci 
					facilisis leo magna. Cras sit amet urna eros, id egestas urna. Quisque aliquam 
					tempus euismod. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices 
					posuere cubilia.</p>
					<hr />
					<p>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra 
					ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel. Praesent nec orci 
					facilisis leo magna. Cras sit amet urna eros, id egestas urna. Quisque aliquam 
					tempus euismod. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices 
					posuere cubilia.</p>
				</section>
				<section>
					<header>
						<h3>Unordered List</h3>
					</header>
					<ul class="default">
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
					</ul>
				</section>
				<section>
					<header>
						<h3>Ordered List</h3>
					</header>
					<ol class="default">
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
						<li>Donec consectetur vestibulum dolor et pulvinar. Etiam vel felis enim, at viverra ligula. Ut porttitor sagittis lorem, quis eleifend nisi ornare vel.</li>
					</ol>
				</section>
				<section>
					<header>
						<h3>Table</h3>
					</header>
					<div class="table-wrapper">
						<table class="default">
							<thead>
								<tr>
									<th>ID</th>
									<th>Name</th>
									<th>Description</th>
									<th>Price</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td>45815</td>
									<td>Something</td>
									<td>Ut porttitor sagittis lorem quis nisi ornare.</td>
									<td>29.99</td>
								</tr>
								<tr>
									<td>24524</td>
									<td>Nothing</td>
									<td>Ut porttitor sagittis lorem quis nisi ornare.</td>
									<td>19.99</td>
								</tr>
								<tr>
									<td>45815</td>
									<td>Something</td>
									<td>Ut porttitor sagittis lorem quis nisi ornare.</td>
									<td>29.99</td>
								</tr>
								<tr>
									<td>24524</td>
									<td>Nothing</td>
									<td>Ut porttitor sagittis lorem quis nisi ornare.</td>
									<td>19.99</td>
								</tr>
							</tbody>
							<tfoot>
								<tr>
									<td colspan="3"></td>
									<td>100.00</td>
								</tr>
							</tfoot>
						</table>
					</div>
				</section>
				<section>
					<header>
						<h3>Form</h3>
					</header>
					<form method="post" action="#">
						<div class="row">
							<div class="6u">
								<input class="text" type="text" name="name" id="name" value="" placeholder="John Doe" />
							</div>
							<div class="6u">
								<input class="text" type="text" name="email" id="email" value="" placeholder="johndoe@domain.tld" />
							</div>
						</div>
						<div class="row">
							<div class="12u">
								<select name="department" id="department">
									<option value="">Choose a department</option>
									<option value="1">Manufacturing</option>
									<option value="2">Administration</option>
									<option value="3">Support</option>
								</select>
							</div>
						</div>
						<div class="row">
							<div class="12u">
								<input class="text" type="text" name="subject" id="subject" value="" placeholder="Enter your subject" />
							</div>
						</div>
						<div class="row">
							<div class="12u">
								<textarea name="message" id="message" placeholder="Enter your message"></textarea>
							</div>
						</div>
						<div class="row">
							<div class="12u">
								<ul class="actions">
									<li><input type="submit" value="Submit" /></li>
									<li><input type="reset" class="style3" value="Clear Form" /></li>
								</ul>
							</div>
						</div>
					</form>
				</section>
			</article>
		-->
		
		<section id="footer">
			<ul class="icons">
				<li><a href="" onmouseover="Tip('  Entre em contato e agende uma visita:(48) 9662-1396')" onmouseout="UnTip()" class="fa fa-phone solo"><span></span></a></li>
                     
                                      
                <li><a href="mailto:felipe@fernbi.com.br"
                
                onmouseover="Tip('    Aguardo o seu contato: felipe@fernbi.com.br')" onmouseout="UnTip()"
                
                 class="fa fa-envelope solo"><span></span></a></li>
                
                
				<li><a href="https://www.facebook.com/felipe.eberhardt" class="fa fa-facebook solo"><span></span></a></li>
			
				<li><a href="http://www.linkedin.com/pub/felipe-santos-eberhardt/3b/a2/1a0" class="fa fa-linkedin solo"><span></span></a></li>
			</ul>
			<div class="copyright">
				<ul class="menu">
					 <li>&copy; FernBI. Todos os diretos reservados.</li>
                    <li> <a href="trabalhe/workhard.php">Trabalhe na FernBI</a></li>
					<li>Design: <a href="http://html5up.net/">HTML5 UP</a></li>
				</ul>
			</div>
		</section>

	</body>
</html>